package com.common.transformer;

import com.applicationLayer.formbean.StepForm;
import com.common.entity.Step;

public class StepTransformer {

	
	/*******************************
	 * Transformer
	 *******************************/
	public static Step StepForm_TO_Step(StepForm stepForm){
		Step step=new Step();
		step.setDate(stepForm.getDate());
		step.setOrder(stepForm.getOrder());
		step.setPath(stepForm.getPath());
		step.setTown(stepForm.getTown());
		return step;
	}

	public static StepForm Step_TO_StepForm(Step step) {
		StepForm stepForm=new StepForm();
		stepForm.setDate(step.getDate());
		stepForm.setOrder(step.getOrder());
		stepForm.setPath(step.getPath());
		stepForm.setTown(step.getTown());
		return stepForm;
	}

}
